//
//  XVTextField.h
//  整合
//
//  Created by  刘尚威 on 2017/3/3.
//  Copyright © 2017年  刘尚威. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface XVTextField : UITextField

+ (UITextField *)TextFieldWithText:(NSString *)text
                       placeholder:(NSString *)placeholder
                              font:(CGFloat)font
                         textColor:(UIColor *)textColor
                   secureTextEntry:(BOOL)secureTextEntry
                      keyboardType:(UIKeyboardType)keyboardType
                         addToView:(UIView *)view
                             frame:(CGRect)frame;


/**
 左右晃动动画
 */
- (void)shake;


@end
